package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: 王秀田
 * @date: 2024/11/7 10:57
 * @description: 社交内容点赞表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_social_likes")
@ApiModel(value="GeConSocialLikes对象", description="社交内容点赞表")
public class GeConSocialLikes implements Serializable {

    private static final long serialVersionUID = -8747109200294798574L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户标识")
    private String openId;

    @ApiModelProperty(value = "用户标识")
    private String contentId;

    @ApiModelProperty(value = "点赞时间")
    private LocalDateTime likeTime;
}
